﻿@model IEnumerable<Citi.PTSConsolidation.WebUi.Models.PearlAccountMapModel>
<table class="table table-bordered table-striped">
    <tr>
        <th>
            Account L14 Desc
        </th>
        <th>
            Leaf
        </th>
        <th>
            Leaf Description
        </th>
        <th>
            Line Type
        </th>
        <th>
            Aditional Rule
        </th>
        <th>
        </th>
    </tr>
    @foreach (var item in Model)
    {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.AccountL14Desc)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Leaf)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.LeafDescr)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.LineType)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.AditionalRule)
            </td>
            <td>
                @Html.ActionLink("Edit", "Edit", new { id = item.Id }) |
                @Html.ActionLink("Delete", "Delete", new { id = item.Id }, new { onclick = "return confirm('Are you sure?');" })
            </td>
        </tr>
    }
</table>
